<?php
 $data = [
        ['id'=>1,'name' => 'renren','url' => 'www.gffg.com'],
        ['id'=>2,'name' => '人人','url' => 'www.renren.com']
        ];
echo json_encode($data);
?>